package cn.yhz.pethome.dept.mapper;

import cn.yhz.pethome.dept.Query.EmployeeQuery;
import cn.yhz.pethome.dept.domain.Employee;

import java.util.List;

public interface IEmployeeMapper {
    //查询所有
    List<Employee> selectAll(EmployeeQuery query);
    //查询全部员工
    List<Employee> selectEmp();
    //根据id查询
    Employee selectById(Long id);
    //总条数
    Long selectCountAll(EmployeeQuery query);
    //新增
    void insert(Employee employee);
    //修改
    void update(Employee employee);
    //删除
    void delete(Long id);
    //批量删除
    void batchEmp(List<Long> ids);
}
